package com.peter.demo.annotations.configures.imports;

import org.springframework.context.annotation.ImportSelector;
import org.springframework.core.type.AnnotationMetadata;

/**
 * @Auther: 肖冬
 * @Date: 2020/8/4 16:30
 * @Description:
 */
public class MyImportSelector implements ImportSelector {
    @Override
    public String[] selectImports(AnnotationMetadata importingClassMetadata) {
        return new String[]{"com.peter.project.entity.Company",
                "com.peter.project.entity.Member"};
    }
}
